Auto merge of #3789 - vojtechkral:cargo_env, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 8 Mar 2017 00:00:34 +0000 (00:00 +0000)
committerbors <bors@rust-lang.org>
Wed, 8 Mar 2017 00:00:34 +0000 (00:00 +0000)
Tell subprocesses the path to self in an env variable #3778

I'm just setting the env var on the process itself, letting subprocesses inherit that, as it's easier than setting for each subprocess individually. I'm not entirely sure this is the right spot though.

Also, I should probably document this somewhere - what would be the best place?

1  2 
src/cargo/lib.rs
tests/cargotest/lib.rs
tests/init.rs

Simple merge
Simple merge
diff --cc tests/init.rs
Simple merge